package com.cenwangkeji.zhihuimuye.ui.adapter;

import android.support.annotation.Nullable;

import com.cenwangkeji.zhihuimuye.R;
import com.cenwangkeji.zhihuimuye.model.bean.MonitoringBean;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * @松 on 2019/10/9 15:11
 */
public class MonitoringAdapter extends BaseQuickAdapter<MonitoringBean,BaseViewHolder> {
    public MonitoringAdapter( @Nullable List<MonitoringBean> data) {
        super(R.layout.item_monitoring, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MonitoringBean item) {
        helper.setText(R.id.tv_id, "视频编号" +
                ": "+item.getId());

    }
}
